package com.zelma.agent.feign;

import com.zelma.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "zelma-consumer")
public interface ConsumerFeignService {


    //        进入报名表 添加用户数据  报名成功
    @GetMapping("/consumer/sign/enlist")
    public R Enlist(@RequestParam("userId")Integer userId,
                    @RequestParam("groupbuyId")Integer groupbuyId);

}
